package ynu.edu.elmspringboot.service;

import com.baomidou.mybatisplus.extension.service.IService;
import ynu.edu.elmspringboot.po.Orders;

public interface OrdersService extends IService<Orders> {
    // 自定义方法，获取包含关联对象的 Orders
    Orders getOrdersWithBusinessAndOrderDetailets(Integer orderId);

    boolean updateAndDeleteCart(Integer orderId, Integer orderState);
}